package com.xbongbong.paas.domain.entity;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * tb_paas_form_rich_text
 *
 * @author bomfish
 */
@Getter
@Setter
public class PaasFormRichTextEntity implements Serializable {

    private static final long serialVersionUID = 8984985374459434546L;
    /**
     * 主键
     */
    private Long id;

    /**
     * 公司id
     */
    private String corpid;

    /**
     * 应用id
     */
    private Long appId;

    /**
     * 菜单id
     */
    private Long menuId;

    /**
     * 表单id
     */
    private Long formId;

    /**
     * 拥有者id
     */
    private String ownerId;

    /**
     * 表单数据id
     */
    private Long dataId;

    /**
     * 创建者id
     */
    private String creatorId;

    /**
     * 创建时间时间戳
     */
    private Long addTime;

    /**
     * 更新时间时间戳
     */
    private Long updateTime;

    /**
     * 删除标记
     */
    private Integer del;

    /**
     * Saas标记位
     */
    private Integer saasMark;

    /**
     * 经销商标记位
     */
    private Integer distributorMark;

    /**
     * Saas业务类型
     */
    private Integer businessType;

    /**
     * 富文本数据
     */
    private String data;

    public PaasFormRichTextEntity() {
    }

    public PaasFormRichTextEntity(Long dataId, String corpid, Long formId, Integer businessType, Integer saasMark, Integer del) {
        this.dataId = dataId;
        this.corpid = corpid;
        this.formId = formId;
        this.businessType = businessType;
        this.saasMark = saasMark;
        this.del = del;
    }
}